import useAxiosApi from '/@/utils/useAxiosApi';

/**
 * 获取信息
 * @returns UseAxiosReturn
 */
export function getOrderTest() {
    return useAxiosApi('/hbmy_wx/sport.reserves?', {
        method: 'POST',
        data: { stuid: "123" },
    });
}

/**
 * 提交申请
 * @returns UseAxiosReturn
 */
export function pushOrderTest(reid,category,year) {
    return useAxiosApi('/hbmy_wx/sport.stuReserve', {
        method: 'POST',
        data: {stuid: "123",reid,category,year},
    });
}

/**
 * 我的申请
 * @returns UseAxiosReturn
 */
export function getMyOrderTest() {
    return useAxiosApi('/hbmy_wx/sport.freeTestUpdate', {
        method: 'POST',
        // data: { stuid: userId,state: 2,reason },
    });
}

